import { Icon } from '@iconify/vue'
import VueClipboard from 'vue3-clipboard'
import WattH5UI from 'watth5-ui'
import 'watth5-ui/style.css'
import Footer from '~/components/footer/index.vue'

export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp
    .component('i-icon', Icon)
    .use(WattH5UI)
    .component('index-footer', Footer)
    .use(VueClipboard, {
      autoSetContainer: true,
      appendToBody: true,
    })

})
